﻿<Page
    x:Class="English.App.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:English.App"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Grid Background="Transparent" Margin="12,0,12,0">
        <ListBox ItemsSource="{Binding Definitions}"  Foreground="white" Background="black">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <StackPanel Margin="0,0,0,12">
                        <StackPanel>
                            <TextBlock Text="{Binding Term}" Foreground="White" FontSize="18" />
                            <TextBlock Text="{Binding Definition}" Foreground="white" />
                        </StackPanel>
                    </StackPanel>
                </DataTemplate>
            </ListBox.ItemTemplate>

        </ListBox>
    </Grid>
</Page>